package com.redribbon.droidnoise;

import java.io.ByteArrayInputStream;

public class SongContainer {
	
	public String artist;
	public String title;
	public String album;
	public Long duration;
	public Long size;
	public ByteArrayInputStream data;
	public String ServerStationName;
	
	public SongContainer( String new_title, String new_artist,
			String new_album, long new_duration, Long new_size, ByteArrayInputStream new_data) {
		
		artist = new_artist;
		title = new_title;
		album = new_album;
		duration  = new_duration;
		size = new_size;
		data = new_data;
		ServerStationName = NoiseConstants.server_station_name;		
	}
	
	public String toString() {
		return title;
	}
	
	public boolean compareTo(SongContainer other) {
		return this.data.equals(other.data);
	}
}
